#include "t_value.h"
#include "ui_t_value.h"

t_value::t_value(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::t_value)
{
    ui->setupUi(this);

    QPixmap *pixmap = new QPixmap(":/images/tvalue.jpg");
    pixmap->scaled(ui->label->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation);
    ui->label->setScaledContents(true);
    ui->label->setPixmap(*pixmap);
}

t_value::~t_value()
{
    delete ui;
}

void t_value::on_pushButton_clicked()
{
    bqddjs *fater = new bqddjs();
    this->close();
    fater->show();
}
